home *** CD-ROM | disk | FTP | other *** search
- Path: news.ov.com!news
- From: glenn@ov.com (Fletcher.Glenn@ov.com)
- Newsgroups: comp.lang.c
- Subject: Re: Parsing an input stream?
- Date: 29 Feb 1996 00:14:07 GMT
- Organization: OpenVision
- Message-ID: <4h2r4f$6pb@spanky.pls.ov.com>
- References: <4gsep9$ho8@srvr1.engin.umich.edu>
- Reply-To: glenn@ov.com
- NNTP-Posting-Host: foghorn.pls.ov.com
-
- In article ho8@srvr1.engin.umich.edu, newberry@news-server.engin.umich.edu (byron lee newberry) writes:
- >Hello,
- >
- >I am currently working on coding a symbolic manipulation program to perform
- >tasks such as mutliplying out large polynomials, etc. I have a pretty
- >good idea how to program the beast except for the parsing of the input
- >stream. I have built up a very simple parser using basic string manipulation
- >functions, but it is very crued. Are libraries around that make this
- >a simplier job? It would seem to me that parsing would be a common task.
- >I appreciate any and all advice. Thanks for your time.
- >
- >Byron
-
-
- The whole problem of parsing input has been addressed (at least in the UNIX
- domain) by a pair of program generators called "lex" and "yacc". These
- programs were intended to be used together to produce a pair of code modules
- that are fairly easy to configure. See the O'Reilly book called:
- "lex & yacc".
-
- Fletcher.Glenn@ov.com
-
-
-